export default [
  {
    path: '/login',
    component: '../layouts/UserLayout/index.js',
    routes: [
      { path: '', component: './login' }
    ],
  },
  {
    path: '/test',
    component: './test'
  },
  {
    path: '/',
    component: '../layouts/BasicLayout',
    routes: [
      {path: 'home', hideInMenu: true, name: '首页', component: './index'},
      {path: 'test1', hideInMenu: true, name: '测试页面', component: './test'},
      {
        path: 'setting', name: '系统设置', icon: 'setting',
        routes: [
          {path: 'home', name: '首页', component: './index'},
          {path: 'test1', name: '测试页面', component: './test'},
        ]
      },
      {
        path: 'tool', name: '道具管理', icon: 'daojuguanliiconx',
        routes: [
          {path: 'product', name: '物品管理', component: './product'}
        ]
      }
    ]
  }
]
